
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$oUser['nickname']?>-机构主页-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('lib')?>uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="<?php echo _get_cfg_path('js')?>DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
</head>
<body>
<?php include_once(VIEWPATH."public/header.php");?>

<div class="mainbody" id="mainbody">
	<div class="introd container">
        
    <?php
      if($oUser['usertype']==1)
        include_once(VIEWPATH."i/public/top.php");
      if($oUser['usertype']==2)
        include_once(VIEWPATH."i/public/top_ins.php");?>

        <div class="clearfix" style="min-height:500px;">
            <div class="fl wsti">
                <ul>
                    <?php if ($model_count):?><li<?php if(!$arrParam['t'] || $arrParam['t']==1) echo ' class="cur"';?>><a href="?t=1">模特</a></li><?php endif;?>
                    <?php if ($photo_count):?><li<?php if($arrParam['t']==4) echo ' class="cur"';?>><a href="?t=4">摄影师</a></li><?php endif;?>
                    <?php if ($makeup_count):?><li<?php if($arrParam['t']==5) echo ' class="cur"';?>><a href="?t=5">化妆师</a></li><?php endif;?>
                </ul>
            </div>
            <?php if(!$arrParam['t'] || $arrParam['t']==1):?>
				<?php if ($list['rows']):?>            
            	<div id="area_type">
            		<ul>
            			<li class="fl <?php if ($arrParam['a']==10):?>cur<?php endif;?>"><a href="?t=1&a=10">全部</a></li>
            			<?php foreach ($areaType as $key=>$val):?>
            				<?php if (isset($areaType[1]) && isset($areaType[2]) && in_array($key, array(1,2))):?>
            					<?php if ($key == 1):?>
            					<li class="fl <?php if (2 == $arrParam['a']):?>cur<?php endif;?>"><a href="?t=1&a=2">日韩模特</a></li>
            					<li class="fl <?php if (1 == $arrParam['a']):?>cur<?php endif;?>"><a href="?t=1&a=1">欧美模特</a></li>
            					<?php endif;?>
            				<?php else :?>
            					<li class="fl <?php if ($key == $arrParam['a']):?>cur<?php endif;?>"><a href="?t=1&a=<?=$key?>"><?=$val?>模特</a></li>
            				<?php endif;?>
            			<?php endforeach;?>
            		</ul>
            	</div>
            	<?php endif;?>
            <?php endif;?>
            <?php if ($list['rows']):?>
            <div class="women artiste fr">
                <ul class="clearfix">
                    <?php foreach ($list['rows'] as $key => $a):?>
                    <li>
                    	<?php if ($arrParam['t'] == 1):?>
                    	<a href="/i/index/<?=$a['id']?>" target="_blank" title="<?=$a['nickname']?>">
	                        <div class="mtimg">
	                            <img class="show" alt="<?=$a['nickname']?>" originalsrc="<?=_get_userlogo_url($a['showimg'])?>"/>
	                            <img class="hide" alt="<?=$a['nickname']?>" originalsrc="<?=_get_userlogo_url($a['showimg2'])?>"/>
	                        </div>
	                        <span class="womzi">
	                            <p><?=$a['nickname']?>&nbsp;&nbsp;&nbsp; <!--地址：--><?php echo $a['city']?></p>
	                            <p class="clearfix"><?php if ($a['height']):?><em class="fl"><!--身高  三围  鞋码--><?=$a['height']?>cm  &nbsp;&nbsp;&nbsp;  <?php echo $a['bust'].'-'.$a['waist'].'-'.$a['hips']?>&nbsp;&nbsp;&nbsp; <?php echo $a['shoes']?>码 </em><?php endif;?> <em class="fr">点击/<?php echo $a['num_info']['visitnum']?></em></p>
	                        </span>
	                    </a>
                    	<?php else :?>
                    
                    	<a href="/i/index/<?=$a['id']?>" target="_blank" title="<?=$a['company']?>">
                            <img src="<?=_get_companylogo_url($a['showimg']);?>"/>
                            <span class="womzi">
                                <p><?php if ($a['usertype'] == 2) echo $a['detail_info']['com_short']?$a['detail_info']['com_short']:$a['nickname']; else echo $a['nickname']?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $a['city']?></p>
                                <p><?php if ($a['usertype'] == 2) echo $a['detail_info']['type_str']; elseif ($a['usertype'] == 4) echo "摄影师"; else echo "化妆师";?><em class="fr">点击/<?php echo $a['num_info']['visitnum']?></em></p>
                            </span>
                        </a>
                        
                        <!-- <a href="/i/index/<?=$a['id']?>" title="<?=$a['nickname']?>" target="_blank">
                            <div class="mtimg">
                                <img class="show" alt="<?=$a['nickname']?>" originalsrc="<?=_get_userlogo_url($a['showimg'])?>"/>
                                <img class="hide" alt="<?=$a['nickname']?>" originalsrc="<?=_get_userlogo_url($a['showimg2'])?>"/>
                            </div>
                            <span class="womzi"><?=$a['nickname']?></span>
                        </a> -->
                        <?php endif;?>
                    </li>
                    <?php endforeach;?>
                </ul>

                <div class="page">
                  <?=$list['pages']?>
                </div>
            </div>
            <?php endif;?>
        </div>


    </div>
</div>
<!--mainbody-->
<?php include_once(VIEWPATH."public/footer.php");?>
</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>main.js"></script>
<style>.artiste{width:1020px;background:#fff;min-height:500px;padding:15px;width:1030px;margin:0 0 30px;}.artiste li{margin:0 14px 14px 0}</style>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>lyz.delayLoading.min.js"></script>
<script type="text/javascript">
$(function () {
    $("img").delayLoading({
        defaultImg: "<?php echo _get_cfg_path('images')?>loading.jpg",   // 预加载前显示的图片
        errorImg: "",                       // 读取图片错误时替换图片(默认：与defaultImg一样)
        imgSrcAttr: "originalSrc",          // 记录图片路径的属性(默认：originalSrc，页面img的src属性也要替换为originalSrc)
        beforehand: 0,                      // 预先提前多少像素加载图片(默认：0)
        event: "scroll",                    // 触发加载图片事件(默认：scroll)
        duration: "normal",                 // 三种预定淡出(入)速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认:"normal"
        container: window,                  // 对象加载的位置容器(默认：window)
        success: function (imgObj) {},      // 加载图片成功后的回调函数(默认：不执行任何操作)
        error: function (imgObj) {}         // 加载图片失败后的回调函数(默认：不执行任何操作)
    });
});
</script>
</html>